#/bin/sh
if [ -f /lib/libtaz.sh ]; then
  source /lib/libtaz.sh
else
  newline(){
   printf "\n"
  }
  boldify(){
   echo -e "\\033[1m$@\\033[0m"
  }
  separator() {
    if [ $1 ]; then local sepchar="$1"; else local sepchar="-"; fi
    local cols=$(TermWidth); [ "$cols" ] || cols=80
    for c in $(seq 1 $cols); do
      echo -n "$sepchar"
    done && echo ""
  }
  longline() {
	local cols=$(TermWidth); [ "$cols" ] || cols=80
	echo -e "$@" | fold -sw$cols
  }
fi
